package com.zmj.dto.base;

import lombok.Data;

import javax.validation.constraints.NotNull;

/**
 * @author zmj
 * @date 2021-12-16 17:11
 */
@Data
public class PageReq {

    @NotNull(message = "pageNum cannot be null")
    private Integer pageNum;

    @NotNull(message = "pageSize cannot be null")
    private Integer pageSize;
}
